using System.Collections.Generic;
using System.Collections.ObjectModel;
using Learn.Commands;
using Learn.Models;

namespace Learn.ViewModels;
using CommunityToolkit.Mvvm.ComponentModel;

public partial class TestViewModel: ObservableRecipient
{
    public ExitCommand Command { get; set; }
    
    [ObservableProperty]
    private ObservableCollection<StudentViewModel> studentViewModels = new ObservableCollection<StudentViewModel>();

    [ObservableProperty] private StudentViewModel selectStudent;

    public TestViewModel()
    {
        Command = new ExitCommand();
    }
}